<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>寿险业务数据分析仪表盘</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>

    <!-- Tailwind 配置 -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#36CFC9',
                        accent: '#722ED1',
                        warning: '#FF7D00',
                        danger: '#F53F3F',
                        success: '#00B42A',
                        info: '#86909C',
                        light: '#F2F3F5',
                        dark: '#1D2129'
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>

    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .card-shadow {
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            }
            .hover-lift {
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }
            .hover-lift:hover {
                transform: translateY(-5px);
                box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
            }
        }
    </style>
</head>
<body class="bg-gray-50 text-gray-800 min-h-screen">
    <!-- 顶部导航栏 -->
    <header class="bg-white shadow-sm sticky top-0 z-50">
        <div class="container mx-auto px-4 py-3 flex items-center justify-between">
            <div class="flex items-center space-x-3">
                <i class="fa fa-line-chart text-primary text-2xl"></i>
                <h1 class="text-xl font-bold text-primary">寿险业务数据分析仪表盘</h1>
            </div>

            <div class="flex items-center space-x-6">
                <div class="hidden md:flex items-center space-x-4">
                    <button class="text-gray-600 hover:text-primary transition-colors">
                        <i class="fa fa-home mr-1"></i> 首页
                    </button>
                    <button class="text-primary border-b-2 border-primary pb-1">
                        <i class="fa fa-dashboard mr-1"></i> 仪表盘
                    </button>
                    <button class="text-gray-600 hover:text-primary transition-colors">
                        <i class="fa fa-file-text-o mr-1"></i> 报表
                    </button>
                    <button class="text-gray-600 hover:text-primary transition-colors">
                        <i class="fa fa-cog mr-1"></i> 设置
                    </button>
                </div>

                <div class="flex items-center space-x-3">
                    <div class="relative">
                        <input type="text" placeholder="搜索指标..." class="pl-8 pr-3 py-1 rounded-full text-sm border border-gray-300 focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                        <i class="fa fa-search absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"></i>
                    </div>

                    <div class="h-8 w-8 rounded-full bg-primary/10 flex items-center justify-center text-primary cursor-pointer">
                        <i class="fa fa-user"></i>
                    </div>
                </div>
            </div>
        </div>
    </header>

    <!-- 主内容区 -->
    <main class="container mx-auto px-4 py-6">
        <!-- 筛选条件 -->
        <div class="bg-white rounded-lg p-4 mb-6 card-shadow">
            <div class="flex flex-wrap items-center justify-between gap-4">
                <div class="flex flex-wrap items-center gap-4">
                    <div>
                        <label class="block text-sm text-gray-600 mb-1">时间范围</label>
                        <select class="border border-gray-300 rounded-md px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                            <option>2023年全年</option>
                            <option>2022年全年</option>
                            <option>2023年Q1</option>
                            <option>2023年Q2</option>
                            <option>2023年Q3</option>
                            <option>2023年Q4</option>
                        </select>
                    </div>

                    <div>
                        <label class="block text-sm text-gray-600 mb-1">区域</label>
                        <select class="border border-gray-300 rounded-md px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                            <option>全国</option>
                            <option>华北</option>
                            <option>华东</option>
                            <option>华南</option>
                            <option>西北</option>
                            <option>西南</option>
                        </select>
                    </div>

                    <div>
                        <label class="block text-sm text-gray-600 mb-1">业务类型</label>
                        <select class="border border-gray-300 rounded-md px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                            <option>全部业务</option>
                            <option>直接业务</option>
                            <option>再保险业务</option>
                        </select>
                    </div>
                </div>

                <div class="flex items-center gap-3">
                    <button class="px-4 py-2 bg-white border border-gray-300 rounded-md text-sm hover:bg-gray-50 transition-colors flex items-center">
                        <i class="fa fa-download mr-2"></i> 导出数据
                    </button>
                    <button class="px-4 py-2 bg-primary text-white rounded-md text-sm hover:bg-primary/90 transition-colors flex items-center">
                        <i class="fa fa-refresh mr-2"></i> 刷新数据
                    </button>
                </div>
            </div>
        </div>

        <!-- KPI指标卡片 -->
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
            <!-- 首席再保人合同占比 -->
            <div class="bg-white rounded-lg p-5 card-shadow hover-lift">
                <div class="flex justify-between items-start mb-4">
                    <div>
                        <p class="text-gray-500 text-sm">首席再保人合同占比</p>
                        <h3 class="text-3xl font-bold mt-1">62.5%</h3>
                    </div>
                    <div class="h-10 w-10 rounded-full bg-primary/10 flex items-center justify-center text-primary">
                        <i class="fa fa-handshake-o"></i>
                    </div>
                </div>
                <div class="flex items-center text-sm">
                    <span class="text-success flex items-center">
                        <i class="fa fa-arrow-up mr-1"></i> 3.2%
                    </span>
                    <span class="text-gray-500 ml-2">较上期</span>
                </div>
            </div>

            <!-- 长期险保费增长率 -->
            <div class="bg-white rounded-lg p-5 card-shadow hover-lift">
                <div class="flex justify-between items-start mb-4">
                    <div>
                        <p class="text-gray-500 text-sm">长期险保费增长率</p>
                        <h3 class="text-3xl font-bold mt-1">18.7%</h3>
                    </div>
                    <div class="h-10 w-10 rounded-full bg-success/10 flex items-center justify-center text-success">
                        <i class="fa fa-line-chart"></i>
                    </div>
                </div>
                <div class="flex items-center text-sm">
                    <span class="text-success flex items-center">
                        <i class="fa fa-arrow-up mr-1"></i> 5.4%
                    </span>
                    <span class="text-gray-500 ml-2">较上期</span>
                </div>
            </div>

            <!-- 团险保费占比 -->
            <div class="bg-white rounded-lg p-5 card-shadow hover-lift">
                <div class="flex justify-between items-start mb-4">
                    <div>
                        <p class="text-gray-500 text-sm">团险保费占比</p>
                        <h3 class="text-3xl font-bold mt-1">38.2%</h3>
                    </div>
                    <div class="h-10 w-10 rounded-full bg-accent/10 flex items-center justify-center text-accent">
                        <i class="fa fa-users"></i>
                    </div>
                </div>
                <div class="flex items-center text-sm">
                    <span class="text-danger flex items-center">
                        <i class="fa fa-arrow-down mr-1"></i> 1.8%
                    </span>
                    <span class="text-gray-500 ml-2">较上期</span>
                </div>
            </div>

            <!-- 犹豫期退保率 -->
            <div class="bg-white rounded-lg p-5 card-shadow hover-lift">
                <div class="flex justify-between items-start mb-4">
                    <div>
                        <p class="text-gray-500 text-sm">犹豫期退保率</p>
                        <h3 class="text-3xl font-bold mt-1">2.3%</h3>
                    </div>
                    <div class="h-10 w-10 rounded-full bg-warning/10 flex items-center justify-center text-warning">
                        <i class="fa fa-exclamation-triangle"></i>
                    </div>
                </div>
                <div class="flex items-center text-sm">
                    <span class="text-success flex items-center">
                        <i class="fa fa-arrow-down mr-1"></i> 0.5%
                    </span>
                    <span class="text-gray-500 ml-2">较上期</span>
                </div>
            </div>
        </div>

        <!-- 图表区域 -->
        <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
            <!-- 各区域保费占比对比 -->
            <div class="bg-white rounded-lg p-5 card-shadow">
                <div class="flex justify-between items-center mb-6">
                    <h3 class="font-semibold text-lg">各区域保费占比对比</h3>
                    <div class="flex space-x-2">
                        <button class="px-2 py-1 text-xs bg-primary/10 text-primary rounded">长期险</button>
                        <button class="px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded">短期险</button>
                    </div>
                </div>
                <div class="h-80">
                    <canvas id="regionPremiumChart"></canvas>
                </div>
            </div>

            <!-- 保费收入年度趋势 -->
            <div class="bg-white rounded-lg p-5 card-shadow">
                <div class="flex justify-between items-center mb-6">
                    <h3 class="font-semibold text-lg">保费收入年度趋势</h3>
                    <div class="flex space-x-2">
                        <button class="px-2 py-1 text-xs bg-primary/10 text-primary rounded">团险</button>
                        <button class="px-2 py-1 text-xs bg-secondary/10 text-secondary rounded">个险</button>
                    </div>
                </div>
                <div class="h-80">
                    <canvas id="yearlyPremiumChart"></canvas>
                </div>
            </div>
        </div>

        <!-- 更多图表 -->
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
            <!-- 再保险业务占比 -->
            <div class="bg-white rounded-lg p-5 card-shadow">
                <h3 class="font-semibold text-lg mb-6">再保险业务占比</h3>
                <div class="h-64 flex items-center justify-center">
                    <canvas id="reinsuranceChart"></canvas>
                </div>
                <div class="grid grid-cols-2 gap-4 mt-4">
                    <div class="flex items-center">
                        <div class="h-3 w-3 rounded-full bg-primary mr-2"></div>
                        <span class="text-sm">首席再保人</span>
                        <span class="ml-auto font-medium">62.5%</span>
                    </div>
                    <div class="flex items-center">
                        <div class="h-3 w-3 rounded-full bg-gray-300 mr-2"></div>
                        <span class="text-sm">非首席再保人</span>
                        <span class="ml-auto font-medium">37.5%</span>
                    </div>
                </div>
            </div>

            <!-- 缴费方式占比 -->
            <div class="bg-white rounded-lg p-5 card-shadow">
                <h3 class="font-semibold text-lg mb-6">新单缴费方式占比</h3>
                <div class="h-64 flex items-center justify-center">
                    <canvas id="paymentMethodChart"></canvas>
                </div>
                <div class="grid grid-cols-2 gap-4 mt-4">
                    <div class="flex items-center">
                        <div class="h-3 w-3 rounded-full bg-secondary mr-2"></div>
                        <span class="text-sm">期缴</span>
                        <span class="ml-auto font-medium">68.3%</span>
                    </div>
                    <div class="flex items-center">
                        <div class="h-3 w-3 rounded-full bg-accent mr-2"></div>
                        <span class="text-sm">趸缴</span>
                        <span class="ml-auto font-medium">31.7%</span>
                    </div>
                </div>
            </div>

            <!-- 10年期以上期缴占比 -->
            <div class="bg-white rounded-lg p-5 card-shadow">
                <h3 class="font-semibold text-lg mb-6">10年期以上期缴占比</h3>
                <div class="h-64">
                    <canvas id="longTermPaymentChart"></canvas>
                </div>
                <div class="mt-4 text-center">
                    <span class="text-2xl font-bold text-primary">42.8%</span>
                    <p class="text-sm text-gray-500">较去年提升3.2个百分点</p>
                </div>
            </div>
        </div>

        <!-- 指标详情表格 -->
        <div class="bg-white rounded-lg p-5 card-shadow mb-6">
            <div class="flex justify-between items-center mb-6">
                <h3 class="font-semibold text-lg">指标详情数据</h3>
                <div class="flex items-center">
                    <div class="relative mr-3">
                        <input type="text" placeholder="搜索指标..." class="pl-8 pr-3 py-1 rounded-md text-sm border border-gray-300 focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                        <i class="fa fa-search absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"></i>
                    </div>
                    <select class="border border-gray-300 rounded-md px-3 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                        <option>全部指标</option>
                        <option>再保险业务指标</option>
                        <option>保费结构指标</option>
                        <option>业务质量指标</option>
                    </select>
                </div>
            </div>

            <div class="overflow-x-auto">
                <table class="min-w-full divide-y divide-gray-200">
                    <thead>
                        <tr>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">指标名称</th>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">当前值</th>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">上期值</th>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">变化率</th>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">趋势</th>
                            <th class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">操作</th>
                        </tr>
                    </thead>
                    <tbody class="bg-white divide-y divide-gray-200">
                        <tr>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm font-medium">首席再保人合同数量占比</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm">62.5%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm">59.3%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm text-success">+3.2%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm"><i class="fa fa-arrow-up text-success"></i> 上升</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap text-sm">
                                <button class="text-primary hover:text-primary/80 mr-3">详情</button>
                                <button class="text-gray-500 hover:text-gray-700">历史</button>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm font-medium">首席再保人保费收入占比</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm">58.7%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm">56.2%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm text-success">+2.5%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm"><i class="fa fa-arrow-up text-success"></i> 上升</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap text-sm">
                                <button class="text-primary hover:text-primary/80 mr-3">详情</button>
                                <button class="text-gray-500 hover:text-gray-700">历史</button>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm font-medium">长期险保费增长率</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm">18.7%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm">13.3%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm text-success">+5.4%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm"><i class="fa fa-arrow-up text-success"></i> 上升</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap text-sm">
                                <button class="text-primary hover:text-primary/80 mr-3">详情</button>
                                <button class="text-gray-500 hover:text-gray-700">历史</button>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm font-medium">短期险保费增长率</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm">8.2%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm">10.5%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm text-danger">-2.3%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm"><i class="fa fa-arrow-down text-danger"></i> 下降</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap text-sm">
                                <button class="text-primary hover:text-primary/80 mr-3">详情</button>
                                <button class="text-gray-500 hover:text-gray-700">历史</button>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm font-medium">犹豫期保费退保率</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm">2.3%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm">2.8%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm text-success">-0.5%</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap">
                                <div class="text-sm"><i class="fa fa-arrow-down text-success"></i> 下降</div>
                            </td>
                            <td class="px-4 py-3 whitespace-nowrap text-sm">
                                <button class="text-primary hover:text-primary/80 mr-3">详情</button>
                                <button class="text-gray-500 hover:text-gray-700">历史</button>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>

            <div class="flex justify-between items-center mt-6">
                <div class="text-sm text-gray-500">显示 1 至 5 条，共 11 条</div>
                <div class="flex space-x-1">
                    <button class="w-8 h-8 flex items-center justify-center rounded border border-gray-300 text-gray-500 hover:bg-gray-50 disabled:opacity-50" disabled>
                        <i class="fa fa-chevron-left text-xs"></i>
                    </button>
                    <button class="w-8 h-8 flex items-center justify-center rounded border border-primary bg-primary text-white">1</button>
                    <button class="w-8 h-8 flex items-center justify-center rounded border border-gray-300 hover:bg-gray-50">2</button>
                    <button class="w-8 h-8 flex items-center justify-center rounded border border-gray-300 hover:bg-gray-50">
                        <i class="fa fa-chevron-right text-xs"></i>
                    </button>
                </div>
            </div>
        </div>
    </main>

    <!-- 页脚 -->
    <footer class="bg-white border-t border-gray-200 py-6">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-4 md:mb-0">
                    <p class="text-sm text-gray-500">© 2023 寿险业务数据分析系统. 保留所有权利.</p>
                </div>
                <div class="flex space-x-6">
                    <a href="#" class="text-sm text-gray-500 hover:text-primary">使用帮助</a>
                    <a href="#" class="text-sm text-gray-500 hover:text-primary">隐私政策</a>
                    <a href="#" class="text-sm text-gray-500 hover:text-primary">联系我们</a>
                </div>
            </div>
        </div>
    </footer>

    <!-- JavaScript -->
    <script>
        // 设置中文字体
        Chart.defaults.font.family = ['Inter', 'system-ui', 'sans-serif', 'SimHei'];

        // 各区域保费占比对比图表
        const regionPremiumCtx = document.getElementById('regionPremiumChart').getContext('2d');
        const regionPremiumChart = new Chart(regionPremiumCtx, {
            type: 'bar',
            data: {
                labels: ['华北', '华东', '华南', '西北', '西南'],
                datasets: [
                    {
                        label: '长期险',
                        data: [35, 42, 38, 29, 31],
                        backgroundColor: '#165DFF',
                        borderRadius: 4
                    },
                    {
                        label: '短期险',
                        data: [12, 15, 10, 8, 14],
                        backgroundColor: '#86909C',
                        borderRadius: 4
                    }
                ]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        position: 'top',
                    },
                    tooltip: {
                        mode: 'index',
                        intersect: false,
                    }
                },
                scales: {
                    y: {
                        beginAtZero: true,
                        title: {
                            display: true,
                            text: '保费收入(万元)'
                        }
                    }
                }
            }
        });

        // 保费收入年度趋势图表
        const yearlyPremiumCtx = document.getElementById('yearlyPremiumChart').getContext('2d');
        const yearlyPremiumChart = new Chart(yearlyPremiumCtx, {
            type: 'line',
            data: {
                labels: ['2020', '2021', '2022', '2023'],
                datasets: [
                    {
                        label: '团险',
                        data: [1200, 1500, 1800, 2200],
                        borderColor: '#165DFF',
                        backgroundColor: 'rgba(22, 93, 255, 0.1)',
                        tension: 0.3,
                        fill: true
                    },
                    {
                        label: '个险',
                        data: [2800, 3200, 3600, 4100],
                        borderColor: '#36CFC9',
                        backgroundColor: 'rgba(54, 207, 201, 0.1)',
                        tension: 0.3,
                        fill: true
                    }
                ]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        position: 'top',
                    }
                },
                scales: {
                    y: {
                        beginAtZero: true,
                        title: {
                            display: true,
                            text: '保费收入(万元)'
                        }
                    }
                }
            }
        });

        // 再保险业务占比图表
        const reinsuranceCtx = document.getElementById('reinsuranceChart').getContext('2d');
        const reinsuranceChart = new Chart(reinsuranceCtx, {
            type: 'doughnut',
            data: {
                labels: ['首席再保人', '非首席再保人'],
                datasets: [{
                    data: [62.5, 37.5],
                    backgroundColor: ['#165DFF', '#E5E6EB'],
                    borderWidth: 0,
                    cutout: '70%'
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        display: false
                    }
                }
            }
        });

        // 缴费方式占比图表
        const paymentMethodCtx = document.getElementById('paymentMethodChart').getContext('2d');
        const paymentMethodChart = new Chart(paymentMethodCtx, {
            type: 'doughnut',
            data: {
                labels: ['期缴', '趸缴'],
                datasets: [{
                    data: [68.3, 31.7],
                    backgroundColor: ['#36CFC9', '#722ED1'],
                    borderWidth: 0,
                    cutout: '70%'
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        display: false
                    }
                }
            }
        });

        // 10年期以上期缴占比图表
        const longTermPaymentCtx = document.getElementById('longTermPaymentChart').getContext('2d');
        const longTermPaymentChart = new Chart(longTermPaymentCtx, {
            type: 'line',
            data: {
                labels: ['2019', '2020', '2021', '2022', '2023'],
                datasets: [{
                    label: '10年期以上期缴占比',
                    data: [32.5, 35.8, 37.2, 39.6, 42.8],
                    borderColor: '#165DFF',
                    backgroundColor: 'rgba(22, 93, 255, 0.1)',
                    tension: 0.3,
                    fill: true,
                    pointBackgroundColor: '#165DFF',
                    pointRadius: 4,
                    pointHoverRadius: 6
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        display: false
                    }
                },
                scales: {
                    y: {
                        beginAtZero: false,
                        min: 30,
                        ticks: {
                            callback: function(value) {
                                return value + '%';
                            }
                        }
                    }
                }
            }
        });
    </script>
</body>
</html>
